package br.com.compiler.lexico;

@SuppressWarnings("serial")
public class LexicalError extends AnalysisError
{
	
    private char caracter;
	
    public LexicalError(String msg, int position, char caracter)
	 {
        super(msg, position);
        this.caracter = caracter;
    }

    public LexicalError(String msg)
    {
        super(msg);
    }
    
    public char getCaracter(){
    	return caracter;
    }
}
